home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Light ROM 3
/
Light ROM 3 - Disc 2.iso
/
programs
/
amiga
/
dps
/
tbcii30.lha
/
TBCinfo.rexx
< prev
Wrap
OS/2 REXX Batch file
|
1987-10-08
|
2KB
|
75 lines
/* TBC ARexx interface test #1 Greg Cunningham 11/7/91
This shows results of all commands which return results
*/
TBCPath='Toaster:TBC-II' /* <<- path and name for running the program */
If ~Show(P,'TBC') then Do
Say 'Attempting to run TBC-II software.'
Address command TBCPath 'NOSCREEN' /* run it without the user interface */
Do 25
call Delay 10
If Show(P,'TBC')~=0 then break
End
If ~Show(P,'TBC') then Do
Say 'Can''t run TBC-II software.'
Say 'I assumed it was "'TBCPath'"'
Exit
End
call Delay 50
End
Address TBC /* This is the port address */
Options Results
VERSION ; Say ' Version ID:' Result
ANALYZER ; Say 'Analyzer Mode:' Result
SUPERIMPOSE ; Say ' Superimpose:' Result
EXCITER ; Say ' Beam Exciter:' Result
RESPONSE ; Say 'Freq Response:' Result
RATE ; Say ' Trace Rate:' Result
Say
Do i = 1 to 4
TBC i ; Say ' TBC:' Result
INPUT ; Say ' Input:' Result
FREEZE ; Say 'Freeze:' Result
VIDEO ; Say ' Video:' Result
BLACK ; Say ' Black:' Result
CHROMA ; Say 'Chroma:' Result
HUE ; Say ' Hue:' Result
FINE ; Say ' Fine:' Result
COARSE ; Say 'Coarse:' Result
HORIZ ; Say ' Horiz:' Result
BLUE ; Say ' Blue:' Result
RED ; Say ' Red:' Result
Say '-------'
End
Do i = 1 to 10
PROCAMP i ; Say 'PROCAMP' i':' Result
End
/****
ANALIZER [VECTOR|WAVE|OVERLAY|SPLIT] [1H|2H] <<- returns same
EXCITER [NORMAL|FREEZE|PEAK|VARIABLE] <<- returns same
SUPERIMPOSE [ ON | OFF ] [ ON | OFF ]
RESPONSE [ FLAT | LOWPASS ] [ FLAT | LOWPASS ]
RATE [ 2 to 127 ] 2 to 127
KEYINPUT [ ON | OFF ] [ ON | OFF ]
KEYMODE [VIDEO|BLACK|CHROMA|HUE|HORIZ|BLUE|RED] <<-returns one
*****/